<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016-04-03
 * Time: 14:15
 */

$_temp = realpath('Verify');
var_dump($_temp);
$_temp1= str_replace('\\', '/', $_temp);
var_dump($_temp1);
$dir = trim(strrchr(trim($_temp1, '/'), '/'), '/');
var_dump($dir);
var_dump(PHP_VERSION);
ob_start();//buf1
echo 'multiple'.'2222'."<br>";
ob_start();//buf2
echo 'bufferswork'.'22222'."<br>";
$buf2 = ob_get_contents();
ob_end_clean();
$buf1 = ob_get_contents();
ob_end_clean();
echo $buf1.'11111'."<br>";
echo '111111'."<br>";
echo $buf2.'11111'."<br>";

